package com.innerclass.local;


/**
 * 局部内部类：定义在方法或者一个作用域中的类
 */
public class LocalInner {

    public LocalInner print(){
        class LocalInner1 extends LocalInner{
            private int age = 18;
        }
        return new LocalInner1();
    }

}
